package com.jmx.demo2;

/**
 * First..
 *
 * @author Lizhong
 * @date 2019/4/24
 */
public class First implements FirstMBean {
    private String name;

    public First(String name) {
        this.name = name;
    }

    public First() {
        this.name = "First";
    }


    @Override
    public String getName() {
        return this.name;
    }

    @Override
    public void setName(String s) {
        this.name = s;
    }

    @Override
    public void printName() {
        System.out.println(name);
    }
}
